
###
 # @Author: daniel
 # @Date: 2023-08-30 14:46:01
 # @LastEditTime: 2023-10-27 12:51:24
 # @LastEditors: daniel
 # @Description: 
 # @FilePath: /topictrack-bee/install.sh
 # have a nice day
### 


conda create -n beetrack python=3.8


conda activate beetrack


pip install --upgrade pip




# conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge #* something go wong
pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
 pip install cpython

#todo 
cd external/YOLOX/
pip install -r requirements.txt && python setup.py develop
cd ../deep-person-reid/
pip install -r requirements.txt && python setup.py develop #! some thing going wrong:  No matching distribution found for tb-nightly
cd ../fast_reid/
pip install -r docs/requirements.txt

pip install pycocotools



#* fix the problem of yolox can not being imported 
export PYTHONPATH="$PYTHONPATH:/data/xusc/exp/topictrack-bee:/data/xusc/exp/topictrack-bee:/data/xusc/exp/topictrack-bee:/data/xusc/exp/topictrack-bee/external/YOLOX/"






pip install tensorboard==2.13.0
#* for tensorboard 
conda activate yang_real